package com.xxin.mapper;

import com.xxin.pojo.entity.Department;

import java.util.List;

/**
    @author 小欣
    @version 1.0
    @since 1.8
*/
 
public interface DepartmentMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Department record);

    int insertSelective(Department record);

    Department selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Department record);

    int updateByPrimaryKey(Department record);
	
	List<Department> selectAll();
}